package week2;

import org.junit.Test;

import java.util.Scanner;

public class VehicleTest {




    @Test
    public void t1() {
        Scanner scanner = new Scanner(System.in);
        int speed = scanner.nextInt();
        int size = scanner.nextInt();
        Vehicle vehicle = new Vehicle(speed,size);
        vehicle.get();
        System.out.println(vehicle.speedDown(10));
        System.out.println(vehicle.speedUp(100));

    }
}
